<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<h3>Crea il tuo blog</h3>
<form name="addBlog" action="./private/AddBlog" method="POST">
Titolo del Blog: <input type="text" name="blogTitle" class="textinput" />
Categoria Blog:
<br><select name="blogCategory" class="textinput">
	<c:forEach var="cat" items="${blogCategoryList}" varStatus="status">
		<option value="${cat.id}"><c:out value="${cat.name}" /></option>
	</c:forEach>
	</select>
<br>
<input type="hidden" name="blogOwner" value="<c:out value="${user.userID}" />" class="textinput" />
<input class="submit" type="submit" value="Crea Blog"><small>Press ESC to close</small> 
</form>

